package com.ygqh.baby.model.wdt.qyb;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.ygqh.baby.service.wdtqyb.util.WDTConfigure;

public class WdtQybRefundReq {

	/**
	 * 平台订单编号
	 */
	@JSONField(name = "tid")
	private String tId;

	/**
	 * 平台id
	 */
	@JSONField(name = "platform_id")
	private int platformId;
	/**
	 * ERP内店铺编号
	 */
	@JSONField(name = "shop_no")
	private String shopNo;

	/**
	 * 平台退货单号
	 */
	@JSONField(name = "refund_no")
	private String refundNo;

	/**
	 * 退货类型: 2 退款不退货 3 退货
	 */
	@JSONField(name = "type")
	private int type;

	/**
	 * success 退款成功
	 */
	@JSONField(name = "status")
	private String status;

	/**
	 * 退款金额
	 */
	@JSONField(name = "refund_fee")
	private String refundFee;

	/**
	 * 支付订单号
	 */
	@JSONField(name = "alipay_no")
	private String alipayNo;

	/**
	 * 买家昵称
	 */
	@JSONField(name = "buyer_nick")
	private String buyerNick;

	/**
	 * 退货创建时间
	 */
	@JSONField(name = "refund_time")
	private Date refundTime;

	/**
	 * 原因
	 */
	@JSONField(name = "reason")
	private String reason;

	/**
	 * 说明
	 */
	@JSONField(name = "desc")
	private String desc;

	/**
	 * 版本
	 */
	@JSONField(name = "refund_version")
	private String refundVersion;

	/**
	 * 退货子单信息(货品信息) order_list结构
	 */
	@JSONField(name = "order_list")
	private List<WdtRefundDetail> orderList;

	public WdtQybRefundReq() {
		super();
	}

	public WdtQybRefundReq(String tId, String refundNo, int type, String status, String refundFee, String buyerNick, Date refundTime, String reason,
			String desc, String shopNo, List<WdtRefundDetail> orderList) {
		super();
		this.tId = tId;
		this.platformId = 127;
		this.shopNo = shopNo;
		this.refundNo = refundNo;
		this.type = type;
		this.status = status;
		this.refundFee = refundFee;
		this.buyerNick = buyerNick;
		this.refundTime = refundTime;
		this.reason = reason;
		this.desc = desc;
		this.orderList = orderList;
	}

	public String gettId() {
		return tId;
	}

	public void settId(String tId) {
		this.tId = tId;
	}

	public int getPlatformId() {
		return platformId;
	}

	public void setPlatformId(int platformId) {
		this.platformId = platformId;
	}

	public String getShopNo() {
		return shopNo;
	}

	public void setShopNo(String shopNo) {
		this.shopNo = shopNo;
	}

	public String getRefundNo() {
		return refundNo;
	}

	public void setRefundNo(String refundNo) {
		this.refundNo = refundNo;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getAlipayNo() {
		return alipayNo;
	}

	public void setAlipayNo(String alipayNo) {
		this.alipayNo = alipayNo;
	}

	public String getBuyerNick() {
		return buyerNick;
	}

	public void setBuyerNick(String buyerNick) {
		this.buyerNick = buyerNick;
	}

	public Date getRefundTime() {
		return refundTime;
	}

	public void setRefundTime(Date refundTime) {
		this.refundTime = refundTime;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getRefundVersion() {
		return refundVersion;
	}

	public void setRefundVersion(String refundVersion) {
		this.refundVersion = refundVersion;
	}

	public List<WdtRefundDetail> getOrderList() {
		return orderList;
	}

	public void setOrderList(List<WdtRefundDetail> orderList) {
		this.orderList = orderList;
	}

}
